package jmir.daniel.figures;

public class Rectangle {

	
	private double costat1;
	private double costat2;
	
	public double getCostat1() {
		return costat1;
	}
	public void setCostat1(double costat1) {
		this.costat1 = costat1;
	}
	public double getCostat2() {
		return costat2;
	}
	public void setCostat2(double costat2) {
		this.costat2 = costat2;
	}
	
	
	
	public double area(){
        return costat1*costat2;
    }
    public double perimetre(){
        return costat1*2+costat2*2;
    }
	
	
	
	
}
